08. If Statements

If Statements

Additional Reading

Project Preview: Use if statements to determine if the door is unlocked. Use if statements to determine if the door is clicked and unlocked Use an if statement to determine if the door is locked. If it is, don't open it. If the door is unlocked, it can be opened.

Tip: Use if statements to determine if the door is unlocked.